Skip to content

Conversation

@prudhvigodithi
Copy link
Member

Description

This bug was introduced part of this PR #18896, following the same pattern for encodePoint(Object value, boolean roundUp) similar to termQuery in ScaledFloatFieldMapper.

Related Issues

Resolves #18546

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Prudhvi Godithi <[email protected]>
@github-actions github-actions bot added enhancement Enhancement or improvement to existing feature or request lucene Roadmap:Search Project-wide roadmap label Search:Performance v3.2.0 labels Aug 7, 2025
@prudhvigodithi prudhvigodithi changed the title Bug fix to scaled_float in encodePoint method Bug fix for scaled_float in encodePoint method Aug 7, 2025
Signed-off-by: Prudhvi Godithi <[email protected]>
@prudhvigodithi prudhvigodithi marked this pull request as ready for review August 7, 2025 00:40
@prudhvigodithi prudhvigodithi requested a review from a team as a code owner August 7, 2025 00:40
@prudhvigodithi prudhvigodithi added the backport 3.2 Backport to 3.2 branch label Aug 7, 2025
Signed-off-by: Prudhvi Godithi <[email protected]>
@prudhvigodithi
Copy link
Member Author

prudhvigodithi commented Aug 7, 2025

Adding @harshavamsi, @kkewwei, @msfroh to please take a look.

@prudhvigodithi prudhvigodithi added the bug Something isn't working label Aug 7, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2025

✅ Gradle check result for 87e2c2c: SUCCESS

@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.03%. Comparing base (c01ff89) to head (8350432).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18952      +/-   ##
============================================
+ Coverage     72.89%   73.03%   +0.14%     
- Complexity    69318    69384      +66     
============================================
  Files          5642     5642              
  Lines        318636   318637       +1     
  Branches      46107    46107              
============================================
+ Hits         232254   232708     +454     
+ Misses        67540    67133     -407     
+ Partials      18842    18796      -46     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@prudhvigodithi prudhvigodithi moved this from Todo to In Progress in Performance Roadmap Aug 7, 2025
Signed-off-by: Prudhvi Godithi <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2025

❕ Gradle check result for 8350432: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@prudhvigodithi prudhvigodithi merged commit 35a91c1 into opensearch-project:main Aug 7, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Performance Roadmap Aug 7, 2025
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 7, 2025
* Fix scaled float bug

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Add clamps

Signed-off-by: Prudhvi Godithi <[email protected]>

---------

Signed-off-by: Prudhvi Godithi <[email protected]>
(cherry picked from commit 35a91c1)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
prudhvigodithi pushed a commit that referenced this pull request Aug 7, 2025
* Fix scaled float bug



* Update changelog



* Update changelog



* Add clamps



---------


(cherry picked from commit 35a91c1)

Signed-off-by: Prudhvi Godithi <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
RajatGupta02 pushed a commit to RajatGupta02/OpenSearch that referenced this pull request Aug 18, 2025
…t#18952)

* Fix scaled float bug

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Add clamps

Signed-off-by: Prudhvi Godithi <[email protected]>

---------

Signed-off-by: Prudhvi Godithi <[email protected]>
kh3ra pushed a commit to kh3ra/OpenSearch that referenced this pull request Sep 5, 2025
…t#18952)

* Fix scaled float bug

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Add clamps

Signed-off-by: Prudhvi Godithi <[email protected]>

---------

Signed-off-by: Prudhvi Godithi <[email protected]>
vinaykpud pushed a commit to vinaykpud/OpenSearch that referenced this pull request Sep 26, 2025
…t#18952)

* Fix scaled float bug

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Update changelog

Signed-off-by: Prudhvi Godithi <[email protected]>

* Add clamps

Signed-off-by: Prudhvi Godithi <[email protected]>

---------

Signed-off-by: Prudhvi Godithi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 3.2 Backport to 3.2 branch bug Something isn't working enhancement Enhancement or improvement to existing feature or request lucene Roadmap:Search Project-wide roadmap label Search:Performance v3.2.0

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[Feature Request] Approximation Framework for queries with search_after

4 participants